#include<iostream>
#include<cstring>
#include<assert.h>
using namespace std;
                            char* my_strcat(char* dest, const char* arc)
							{
                           	 assert(dest && arc);
	                         char* ret = dest;
	                         while(*dest)
	{
	                    	dest++;                

	}
	                        while (*dest++ = *arc++)
	{
		                      ;
	}
	                        return ret;
}
int main()
{
	                        char arr1[40] = "hello ";
	                         char arr2[] = "woaini";
	                         my_strcat(arr1, arr2);
	                         cout << arr1;
}